import Vuex from "vuex";
import Vue from "vue";
import info from "./info";
import color from "./color";
import versions from "./versions";
import defaData from "./defaData";
import requestData from "./requestData";
import cards from "./cards";
Vue.use(Vuex); // 应用仓库 [安装插件]

export default new Vuex.Store({
  // 仓库配置
  modules: {
    info,
    color,
    versions,
    defaData,
    requestData,
    cards,
  },
  strict: true, // 开启严格模式
});
